package com.lyc.constant;

public interface Constant {
    int PRICE_ASC = 1;//按价格升序
    int PRICE_DESC = 2;//按价格降序
    int SALE_DESC = 3;//按销量降序
    int SALE_ASC = 4;//按销量升序

    int PRODUCT_PAGE_SIZE = 30;//页面显示商品的数量大小
    int ORDER_PAGE_SIZE = 8;//页面默认显示订单的数量大小

    int CAROUSEL_SIZE = 4;//最热/新商品轮播图每次显示几条商品数量

    int QUERY_START = 0;//从第x条结果开始获取
    int QUERY_COUNT = 12;//获取x条结果

    String CURRENT_USER = "_LOGIN_USER_";//存储在session当前用户对应的key

    int NOT_DEFAULT_ADDRESS_TYPE =0;//非默认地址类型
    int DEFAULT_ADDRESS_TYPE =1;//默认地址类型

    String OPERATE_SUCCESS = "success";//操作成功
    String OPERATE_FAIL = "fail";//操作失败

    int WAIT4PAY_STATUS = 0;//等待付款状态
    int WAIT4PAYBACK_STATUS = -1;//退款审批状态
    int PAYBACK_SUCCESS_STATUS = -2;//退款成功状态
    int PRODUCTBACK_SUCCESS_STATUS = -4;//退货成功状态
    int WAIT4PRODUCTBACK_STATUS = -5;//退货审批状态
    int CANCLE_STATUS = -3;//订单取消/关闭状态
    int WAIT4SEND_STATUS = 1;//等待/未发货状态
    int SEND_SUCCESS_STATUS = 2;//已发货状态
    int FINISH_STATUS = 3;//订单完成/交易成功状态
    int PRODUCTBACKING = -6;//退货中

    int CATEGORY_PAGE_SIZE = 8;//商品分类分页大小
    int COLOR_PAGE_SIZE = 15;//商品分类分页大小
    int SIZE_PAGE_SIZE = 15;//商品分类分页大小

}
